package com.masterclient.app.modules.goods.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.eoner.baselibrary.bean.goods.CommentData;
import com.eoner.baselibrary.bean.goods.CommentTabModel;
import java.util.List;


public interface CommentContract {

    interface View extends BaseView {
        void showGoodsComment(CommentData data);
        void getCommentListFail(String msg);
        void getTabDataSuccess(List<CommentTabModel> commentTabModels);
        void getTabDataFail(String msg);
    }

    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void getCommentList(String product_id, String type,String page);
        public abstract void getTabData(String product_id);

    }
}